<!--************************************************************ -->
<!--* 文件创建日期：2010                                  * -->
<!--* 文件修改日期：			                                   * -->
<!--************************************************************ -->
<!--JSP初始化设置-->
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@page import="com.infomanage.po.*" %>
<%@page import="com.infomanage.vo.*" %>
<%@page import="com.infomanage.enums.*"%>
<%@page import="com.infomanage.service.rescue.*"%>
<html>
<%
	request.setCharacterEncoding("UTF-8");
	String itemId = request.getParameter("itemId");
    if(itemId == null) itemId = "";
    AccidentRescue item = AccidentRescueService.loadAccidentRescue(request, response, out);
    String accidentCommander = "";
    String accidentDept = "";
    int accidentPersonNum = 0;
    int accidentPersontDead = 0;
    String accidentPhonetime = "";
    String accidentPlace = "";
    String accidentRecorder = "";
    String accidentRequesterDept = "";
    String accidentRequesterName = "";
    String accidentRequesterPhone = "";
    String accidentTimestamp = "";
    String accidentType = "";
    String description = "";
    if(item != null){
	     accidentCommander = item.getAccidentCommander();
	     accidentDept = item.getAccidentDept();
	     accidentPersonNum = item.getAccidentPersonNum();
	     accidentPersontDead = item.getAccidentPersontDead();
	     accidentPhonetime = item.getAccidentPhonetime();
	     accidentPlace = item.getAccidentPlace();
	     accidentRecorder = item.getAccidentRecorder();
	     accidentRequesterDept = item.getAccidentRequesterDept();
	     accidentRequesterName = item.getAccidentRequesterName();
	     accidentRequesterPhone = item.getAccidentRequesterPhone();
	     accidentTimestamp = item.getAccidentTimestamp();
	     accidentType = item.getAccidentType();
	     description = item.getDescription();
    }
%>
<head>
	<title>事故电话记录</title>
	<link href="../../css/table.css" rel="stylesheet" type="text/css">
	<link href="../../css/calendar.css" rel="stylesheet" type="text/css">
	<script type="text/javascript" src="../../js/calendar.js"></script>
</head>
<body  rightmargin="0" bottommargin="0" leftmargin="0" onclick="" onload="">
	<form name="form1" action="phonerecordaction.jsp" method="post" target="actionFrame">

	<input type="hidden" name="actionType">
	<input type="hidden" name="itemId" value="<%=itemId%>">
	<table class="dialogTable" cellpadding="0" cellspacing="0">
		<!-- 表头-->
		<tr class="dialogTableHeader">
			<td>事故电话记录表</td>
		</tr>
		<!-- 表数据-->
		<tr class="dialogTableContent">
			<td>
				<!-- 数据项 -->
				<table class="dataTable">
					<col width="14%">
					<col width="28%">
					<col width="18%">
					<col width="8%">
					<col width="8%">
					<col width="8%">
					<col width="8%">
					<col width="8%">
					<tr>
						<td class="field">
							事故单位
						</td>
						<td>
							<%=accidentDept %>
						</td>
						<td class="field">
							事发时间
						</td>
						<td colspan="7">
							<%=accidentTimestamp %>
						</td>
					</tr>
					<tr>
						<td class="field">
							事发地点
						</td>
						<td>
							<%=accidentPlace %>
						</td>
						<td class="field">
							事故性质
						</td>
						<td colspan="5">
                            <%= accidentType%>
						</td>
					</tr>
					<tr>
						<td class="field">
							遇险人员人数
						</td>
						<td>
							<%= accidentPersonNum%>
						</td>
						<td class="field">
							遇难人员人数
						</td>
						<td colspan="5">
                           <%= accidentPersontDead%>
						</td>
					</tr>
					<tr>
						<td class="field">
							请求人单位
						</td>
						<td>
							<%=accidentRequesterDept %>
						</td>
						<td class="field">
							请求人姓名
						</td>
						<td colspan="5">
                           <%=accidentRequesterName %>
						</td>
					</tr>
					<tr>
						<td class="field">
							请求人联系电话
						</td>
						<td>
							<%= accidentRequesterPhone%>
						</td>
						<td class="field">
							来电时间
						</td>
						<td colspan="5">
							<%=accidentPhonetime %>
						</td>
					</tr>
					<tr>
						<td class="field">
							记录人
						</td>
						<td>
							<%=accidentRecorder %>
						</td>
						<td class="field">
							值班指挥员
						</td>
						<td colspan="5">
                            <%= accidentCommander%>
						</td>
					</tr>
				    <tr style="height: 100px">
						<td class="field">
							备注
						</td>
						<td valign="top"  colspan="20">
							<%= description%>
						</td>
					</tr>


				</table>
			</td>
		</tr>
		<tr>
			<td colspan="8" class="tableBtn">
				<span onclick="window.close();">关闭</span>
			</td>
		</tr>
		<tr valign="top">
			<td colspan="8">
				&nbsp;
			</td>
		</tr>
	</table>
	<iframe src="#" frameborder="0" id="treeFrame" name="frame" style="display: none;position: absolute;"></iframe>
	<iframe src="#" name="actionFrame" style="display: none;"></iframe>
</body>
</html>